package com.scada.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("main")
public class MainController {
	
	@RequestMapping(value = "toMain")
	public ModelAndView toMain(){
		
		return new ModelAndView("main");
	}
	
	@RequestMapping(value = "toHome")
	public ModelAndView toHome(){
		
		return new ModelAndView("html/home");
	}
}
